package com.ljvm.app;

import com.ljvm.sms.SendSms;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {

        SendSms sms = new SendSms("", "",  "兔二爷");
        boolean result = sms.sendSms("13851186070", "SMS_74260109", "{\"product\":\"99204\",\"code\":\"11758\"}");
        if (!result) {
            System.out.println("fail to send sms: " + sms.getMsg());
        } else {
            System.out.println("发送成功");
        }
    }
}
